package codename.carrot.bomberman.network.listener;

import codename.carrot.bomberman.network.events.ReceiveEvent;

/**
 * Interface for classes that listen for messages from the network.
 * @author Group A4.
 *
 */
public interface NetworkReceiveListener {
	
	/**
	 * Called when a message has been received from the network.
	 * @param e The event containing the message and the id from the client it came from.
	 */
	public void onMessageReceive(ReceiveEvent e);

}
